Don't add an echo dash for the first keystroke (Bug#7137).
authorChong Yidong <cyd@stupidchicken.com>
Mon, 4 Oct 2010 18:16:22 +0000 (14:16 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 4 Oct 2010 18:16:22 +0000 (14:16 -0400)
commit1c73e8dbeaf58847ab8b23ef15ab67c64171bdda
tree72503913b53b3e3bba593bd2748f1871c491dda6
parent4787001a04e9d0644ff71952587185cc8db7c939
Don't add an echo dash for the first keystroke (Bug#7137).

* src/keyboard.c (echo_prompt): Function moved into read_key_sequence.
(read_key_sequence): Inline echo_prompt.
(echo_dash): Add a dash only if key is continued (Bug#7137).
src/ChangeLog
src/keyboard.c